<admintpl file="header" />
</head>
<body>
    <div class="wrap">
        <ul class="nav nav-tabs">
            <li><a href="{:U('AdminSettings/add')}">{:L('CLIENTSIDE_ADMINSETTINGS_ADD')}</a></li>
            <li><a href="{:U('AdminSettings/park')}">{:L('CLIENTSIDE_ADMINSETTINGS_PARK')}</a></li>
            <li class="active"><a href="{:U('AdminSettings/erp')}">{:L('CLIENTSIDE_ADMINSETTINGS_ERP')}</a></li>
        </ul>
        <form method="post" class="js-ajax-form" action="{:U('AdminSettings/index')}">
            <!-- <div class="table-actions">
                <button type="submit" class="btn btn-primary btn-small js-ajax-submit">{:L('SORT')}</button>
            </div> -->
            <table class="table table-hover table-bordered table-list">
                <thead>
                    <tr>
                        <!-- <th width="50">{:L('SORT')}</th> -->
                        <th width="50">ID</th>
                        <th>{:L('INTERFACE_TITLE')}</th>
                        <th>{:L('INTERFACE_URL')}</th>
                        <th>{:L('UPDATE_DATE')}</th>
                        <th>{:L('INTERFACE_STATUS')}</th>
                        <th>{:L('ACTIONS')}</th>
                    </tr>
                </thead>
                <tbody>
                    <foreach name="posts" item="vo">
                        <tr>
                            <!-- <td><input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]" value="{$vo.id}" title="ID:{$vo.id}"></td> -->
                            <td><b>{$vo.id}</b></td>
                            <td>
                                {$vo.inter_name}
                            </td>
                            <td>
                                {$vo.inter_url}
                            </td>
                            <td>
                                {:date('Y-m-d H:i',strtotime($vo['update_time']))}
                            </td>
                            <td>
                                <notempty name="vo.inter_status">
                                    <a data-toggle="tooltip" title="正常"><i class="fa fa-check"></i></a>
                                    <else/>
                                    <a data-toggle="tooltip" title="不正常"><i class="fa fa-close"></i></a>
                                </notempty>
                            </td>
                            <td>
                                <a href="{:U('AdminSettings/edit',array('id'=>$vo['id']))}">{:L('EDIT')}</a>
                                <!--  |
                                <a href="{:U('AdminSettings/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">{:L('DELETE')}</a> -->
                            </td>
                        </tr>
                    </foreach>
                </tbody>
            </table>
        </form>
    </div>
    <script src="__PUBLIC__/js/common.js"></script>
</body>
</html>